﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace tpos_business.BusinessObject
{
    public class BillModel
    {
        #region public Member
        private string _CODE;
        private string _ITEM_TYPE;
        private int _BILL_NUMBER;
        private string _ITEM_CODE;
        private string _ITEM_NAME;
        private float _QUANTITY;
        private float _UNIT_PRICE;
        private string _CREATE_USER_NAME;
        private string _UPDATE_USER_NAME;
        private string _TERMINAL_CODE;
        private string _STRTRADECODE;
        private decimal _CURSALE;
        private decimal _CURTENDERAMT;
        private Int64 _CTRCODE;
        private int _CREATE_DATE;
        private int _CREATE_TIME;
        private int _UPDATE_DATE;
        private int _UPDATE_TIME;        
        #endregion
        
        public BillModel() { }
                
        public int CREATE_DATE
        {
            get { return _CREATE_DATE; }
            set { _CREATE_DATE = value; }
        }
        
        public int CREATE_TIME
        {
            get { return _CREATE_TIME; }
            set { _CREATE_TIME = value; }
        }
        
        public int UPDATE_DATE
        {
            get { return _UPDATE_DATE; }
            set { _UPDATE_DATE = value; }
        }
        
        public int UPDATE_TIME
        {
            get { return _UPDATE_TIME; }
            set { _UPDATE_TIME = value; }
        }
        
        public Int64 CTRCODE
        {
            get { return _CTRCODE; }
            set { _CTRCODE = value; }
        }

        public decimal CURSALE
        {
            get { return _CURSALE; }
            set { _CURSALE = value; }
        }

        public decimal CURTENDERAMT
        {
            get { return _CURTENDERAMT; }
            set { _CURTENDERAMT = value; }
        }

        public string CODE
        {
            get { return _CODE; }
            set { _CODE = value; }
        }

        public string ITEM_TYPE
        {
            get { return _ITEM_TYPE; }
            set { _ITEM_TYPE = value; }
        }

        public int BILL_NUMBER
        {
            get { return _BILL_NUMBER; }
            set { _BILL_NUMBER = value; }
        }

        public string ITEM_CODE
        {
            get { return _ITEM_CODE; }
            set { _ITEM_CODE = value; }
        }

        public string ITEM_NAME
        {
            get { return _ITEM_NAME; }
            set { _ITEM_NAME = value; }
        }

        public float QUANTITY
        {
            get { return _QUANTITY; }
            set { _QUANTITY = value; }
        }

        public float UNIT_PRICE
        {
            get { return _UNIT_PRICE; }
            set { _UNIT_PRICE = value; }
        }

        public string CREATE_USER_NAME
        {
            get { return _CREATE_USER_NAME; }
            set { _CREATE_USER_NAME = value; }
        }

        public string UPDATE_USER_NAME
        {
            get { return _UPDATE_USER_NAME; }
            set { _UPDATE_USER_NAME = value; }
        }

        public string TERMINAL_CODE
        {
            get { return _TERMINAL_CODE; }
            set { _TERMINAL_CODE = value; }
        }

        public string STRTRADECODE
        {
            get { return _STRTRADECODE; }
            set { _STRTRADECODE = value; }
        }
    }
}
